package cloud.api.service;

import cloud.api.model.Apple;
import cloud.common.util.ParameterMap;

import java.util.List;

public interface IAppleService {
     List<Apple> getAllApple();

     List<Apple> getAppleById(int  id);

    void saveApple(ParameterMap pm);

    /**
     * 逻辑删除，实际是更新
     *
     * @param
     */
    void delApple(String id);

    void editApple(ParameterMap pm);
}
